import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import router from '@/router'
import instance from './utils/http'
import GeekChannel from './components/GeekChannel.vue'

Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.component(GeekChannel.name, GeekChannel)
Vue.prototype.$http = instance

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
